Skip to content

gh-154196: Improve AttributeError messages from unresolved lazy imports - #154688

Merged
pablogsal merged 8 commits into
python:mainfrom
johnslavik:gh-154196
Aug 16, 2026
Merged

gh-154196: Improve AttributeError messages from unresolved lazy imports#154688
pablogsal merged 8 commits into
python:mainfrom
johnslavik:gh-154196

Conversation

@johnslavik

@johnslavik johnslavik commented Jul 25, 2026

Copy link
Copy Markdown
Member

@johnslavik

Copy link
Copy Markdown
Member Author

Merging latest main to fix CI.

Comment thread Lib/test/test_lazy_import/__init__.py Outdated
Comment thread Objects/lazyimportobject.c Outdated
Comment thread Objects/lazyimportobject.c Outdated
Comment thread Objects/lazyimportobject.c Outdated
Comment thread Lib/test/test_lazy_import/__init__.py
@johnslavik

johnslavik commented Aug 10, 2026

Copy link
Copy Markdown
Member Author

Thank you so much for reviewing @pablogsal! I've addressed all threads.

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pablogsal pablogsal added the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Aug 16, 2026
@pablogsal
pablogsal merged commit 125ca26 into python:main Aug 16, 2026
60 checks passed
@miss-islington-app

Copy link
Copy Markdown

Thanks @johnslavik for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.15.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

@pablogsal

Copy link
Copy Markdown
Member

Great job @johnslavik! 🚀

@bedevere-app

bedevere-app Bot commented Aug 16, 2026

Copy link
Copy Markdown

GH-155899 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Aug 16, 2026
pablogsal pushed a commit that referenced this pull request Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants